//配置服务端口
var server = {
    host : "http://new.benzfangche.com/index.php",
    port : "80",
    
}

// +---------------------------------------------
// ajax提交
// +---------------------------------------------
function _axios(url, params, method = 'post', table) {
    axios({
        url: url,
        method: method,
        data: params
    }).then(res => {
        if (res.data.code == 1) {
            return res.data
        } else {
            alert("接口请求失败")
        }
    });
}